<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__mpc__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__mpc.html">MPC          (Memory Protection Controller)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga3b0bd2e97a05a45124a9b65ae2d6ed23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#ga3b0bd2e97a05a45124a9b65ae2d6ed23">Cy_Mpc_ConfigRotMpcStruct</a> (MPC_Type *base, const <a class="el" href="structcy__stc__mpc__rot__cfg__t.html">cy_stc_mpc_rot_cfg_t</a> *rotConfig)</td></tr>
<tr class="memdesc:ga3b0bd2e97a05a45124a9b65ae2d6ed23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the referenced mpc by setting the PC, NS/S and RW/R/W permissions.  <a href="#ga3b0bd2e97a05a45124a9b65ae2d6ed23">More...</a><br /></td></tr>
<tr class="separator:ga3b0bd2e97a05a45124a9b65ae2d6ed23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5f70231624e0212c465b2b8f1b0abd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#gae5f70231624e0212c465b2b8f1b0abd0">Cy_Mpc_ConfigMpcStruct</a> (MPC_Type *base, const <a class="el" href="structcy__stc__mpc__cfg__t.html">cy_stc_mpc_cfg_t</a> *config)</td></tr>
<tr class="memdesc:gae5f70231624e0212c465b2b8f1b0abd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the referenced mpc by setting the NS/S permissions.  <a href="#gae5f70231624e0212c465b2b8f1b0abd0">More...</a><br /></td></tr>
<tr class="separator:gae5f70231624e0212c465b2b8f1b0abd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0664c649aaea31753a756c14ea437fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#gad0664c649aaea31753a756c14ea437fb">Cy_Mpc_GetRotBlockAttr</a> (MPC_Type *base, <a class="el" href="group__group__mpc__enums.html#ga50109668ec96d0cc4c1e3c76221769ea">cy_en_mpc_prot_context_t</a> pc, uint32_t block, <a class="el" href="structcy__stc__mpc__rot__block__attr__t.html">cy_stc_mpc_rot_block_attr_t</a> *p_block_settings)</td></tr>
<tr class="memdesc:gad0664c649aaea31753a756c14ea437fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get MPC attributes settings corresponding to block and the PC for ROT.  <a href="#gad0664c649aaea31753a756c14ea437fb">More...</a><br /></td></tr>
<tr class="separator:gad0664c649aaea31753a756c14ea437fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8d0ae6fab20e2afeccf31b1ccc86f70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#gaa8d0ae6fab20e2afeccf31b1ccc86f70">Cy_Mpc_GetBlockAttr</a> (MPC_Type *base, uint32_t block, <a class="el" href="structcy__stc__mpc__block__attr__t.html">cy_stc_mpc_block_attr_t</a> *p_block_settings)</td></tr>
<tr class="memdesc:gaa8d0ae6fab20e2afeccf31b1ccc86f70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get MPC attributes settings corresponding to a block.  <a href="#gaa8d0ae6fab20e2afeccf31b1ccc86f70">More...</a><br /></td></tr>
<tr class="separator:gaa8d0ae6fab20e2afeccf31b1ccc86f70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga413a73fc24fe65423a1b32c0be2e987a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#ga413a73fc24fe65423a1b32c0be2e987a">Cy_Mpc_Lock</a> (MPC_Type *base)</td></tr>
<tr class="memdesc:ga413a73fc24fe65423a1b32c0be2e987a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks the MPC configuration.  <a href="#ga413a73fc24fe65423a1b32c0be2e987a">More...</a><br /></td></tr>
<tr class="separator:ga413a73fc24fe65423a1b32c0be2e987a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga448db902b35bfdd2f97ca09e7bdb31a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#ga448db902b35bfdd2f97ca09e7bdb31a8">Cy_Mpc_RotLock</a> (MPC_Type *base)</td></tr>
<tr class="memdesc:ga448db902b35bfdd2f97ca09e7bdb31a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks the MPC configuration for ROT.  <a href="#ga448db902b35bfdd2f97ca09e7bdb31a8">More...</a><br /></td></tr>
<tr class="separator:ga448db902b35bfdd2f97ca09e7bdb31a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6e1ec61c79fb74e7ace3193f07a9e5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#gac6e1ec61c79fb74e7ace3193f07a9e5f">Cy_Mpc_RotAutoInc</a> (MPC_Type *base, uint8_t control)</td></tr>
<tr class="memdesc:gac6e1ec61c79fb74e7ace3193f07a9e5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Auto increment of BLK ID for ROT.  <a href="#gac6e1ec61c79fb74e7ace3193f07a9e5f">More...</a><br /></td></tr>
<tr class="separator:gac6e1ec61c79fb74e7ace3193f07a9e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae9e6027cdc5fbbf5cc597ca286da2f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#gaae9e6027cdc5fbbf5cc597ca286da2f7">Cy_Mpc_AutoInc</a> (MPC_Type *base, uint8_t control)</td></tr>
<tr class="memdesc:gaae9e6027cdc5fbbf5cc597ca286da2f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Auto increment of BLK ID.  <a href="#gaae9e6027cdc5fbbf5cc597ca286da2f7">More...</a><br /></td></tr>
<tr class="separator:gaae9e6027cdc5fbbf5cc597ca286da2f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa45ea4cabe4cd5feb9aab552929ae70c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__mpc__functions.html#gaa45ea4cabe4cd5feb9aab552929ae70c">Cy_Mpc_SetViolationResponse</a> (MPC_Type *base, bool mpcResponse)</td></tr>
<tr class="memdesc:gaa45ea4cabe4cd5feb9aab552929ae70c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set MPC Violation Response.  <a href="#gaa45ea4cabe4cd5feb9aab552929ae70c">More...</a><br /></td></tr>
<tr class="separator:gaa45ea4cabe4cd5feb9aab552929ae70c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga3b0bd2e97a05a45124a9b65ae2d6ed23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3b0bd2e97a05a45124a9b65ae2d6ed23">&#9670;&nbsp;</a></span>Cy_Mpc_ConfigRotMpcStruct()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a> Cy_Mpc_ConfigRotMpcStruct </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__mpc__rot__cfg__t.html">cy_stc_mpc_rot_cfg_t</a> *&#160;</td>
          <td class="paramname"><em>rotConfig</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the referenced mpc by setting the PC, NS/S and RW/R/W permissions. </p>
<p>This is called by ROT module.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured</td></tr>
    <tr><td class="paramname">rotConfig</td><td>MPC configuration structure to be used by the ROT code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="gae5f70231624e0212c465b2b8f1b0abd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae5f70231624e0212c465b2b8f1b0abd0">&#9670;&nbsp;</a></span>Cy_Mpc_ConfigMpcStruct()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a> Cy_Mpc_ConfigMpcStruct </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__mpc__cfg__t.html">cy_stc_mpc_cfg_t</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the referenced mpc by setting the NS/S permissions. </p>
<p>This is called by TFM module.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured</td></tr>
    <tr><td class="paramname">config</td><td>MPC configuration structure to be used by the TFM code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="gad0664c649aaea31753a756c14ea437fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad0664c649aaea31753a756c14ea437fb">&#9670;&nbsp;</a></span>Cy_Mpc_GetRotBlockAttr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a> Cy_Mpc_GetRotBlockAttr </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__mpc__enums.html#ga50109668ec96d0cc4c1e3c76221769ea">cy_en_mpc_prot_context_t</a>&#160;</td>
          <td class="paramname"><em>pc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>block</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcy__stc__mpc__rot__block__attr__t.html">cy_stc_mpc_rot_block_attr_t</a> *&#160;</td>
          <td class="paramname"><em>p_block_settings</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get MPC attributes settings corresponding to block and the PC for ROT. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured</td></tr>
    <tr><td class="paramname">pc</td><td>Protection Context</td></tr>
    <tr><td class="paramname">block</td><td>Index of MPC block for PC. Use <a class="el" href="group__group__mpc__macros.html#ga8008a6fb48f299631e16d302c2e2f016">CY_MPC_GET_BLOCK_INDEX</a> to get index of block.</td></tr>
    <tr><td class="paramname">p_block_settings</td><td>Pointer to return value of block settings</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="gaa8d0ae6fab20e2afeccf31b1ccc86f70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa8d0ae6fab20e2afeccf31b1ccc86f70">&#9670;&nbsp;</a></span>Cy_Mpc_GetBlockAttr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a> Cy_Mpc_GetBlockAttr </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>block</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcy__stc__mpc__block__attr__t.html">cy_stc_mpc_block_attr_t</a> *&#160;</td>
          <td class="paramname"><em>p_block_settings</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get MPC attributes settings corresponding to a block. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured</td></tr>
    <tr><td class="paramname">block</td><td>Index of MPC block for PC. Use <a class="el" href="group__group__mpc__macros.html#ga8008a6fb48f299631e16d302c2e2f016">CY_MPC_GET_BLOCK_INDEX</a> to get index of block.</td></tr>
    <tr><td class="paramname">p_block_settings</td><td>Pointer to return value of block settings</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="ga413a73fc24fe65423a1b32c0be2e987a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga413a73fc24fe65423a1b32c0be2e987a">&#9670;&nbsp;</a></span>Cy_Mpc_Lock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_Mpc_Lock </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Locks the MPC configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga448db902b35bfdd2f97ca09e7bdb31a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga448db902b35bfdd2f97ca09e7bdb31a8">&#9670;&nbsp;</a></span>Cy_Mpc_RotLock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_Mpc_RotLock </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Locks the MPC configuration for ROT. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gac6e1ec61c79fb74e7ace3193f07a9e5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac6e1ec61c79fb74e7ace3193f07a9e5f">&#9670;&nbsp;</a></span>Cy_Mpc_RotAutoInc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_Mpc_RotAutoInc </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>control</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Auto increment of BLK ID for ROT. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured</td></tr>
    <tr><td class="paramname">control</td><td>Auto increment control </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaae9e6027cdc5fbbf5cc597ca286da2f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae9e6027cdc5fbbf5cc597ca286da2f7">&#9670;&nbsp;</a></span>Cy_Mpc_AutoInc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_Mpc_AutoInc </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>control</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Auto increment of BLK ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured</td></tr>
    <tr><td class="paramname">control</td><td>Auto increment control </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa45ea4cabe4cd5feb9aab552929ae70c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa45ea4cabe4cd5feb9aab552929ae70c">&#9670;&nbsp;</a></span>Cy_Mpc_SetViolationResponse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__mpc__enums.html#ga9bc6b76e6e931136b9f97cf684d11f49">cy_en_mpc_status_t</a> Cy_Mpc_SetViolationResponse </td>
          <td>(</td>
          <td class="paramtype">MPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>mpcResponse</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set MPC Violation Response. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of mpc being configured</td></tr>
    <tr><td class="paramname">mpcResponse</td><td>Enable/Disable MPC Response on violation</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>API status </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
